import request from "@/router/axios";
import { baseUrl } from "@/config/env";

//添加实习成绩
export function addPracticeGrades(data) {
  return request({
    url: baseUrl + "/pc/practice-grades",
    method: "post",
    data
  });
}

//查询实习成绩
export function getPracticeGrades(data) {
  return request({
    url: baseUrl + "/pc/practice-grades",
    method: "get",
    params: data
  });
}

//删除实习成绩
export function deletePracticeGrades(data) {
  return request({
    url: baseUrl + "/pc/practice-grades",
    method: "delete",
    data
  });
}

//更新实习成绩
export function updatePracticeGrades(data) {
  return request({
    url: baseUrl + "/pc/practice-grades",
    method: "put",
    data
  });
}

//导入实习成绩
export function importPracticeGrades(data) {
  return request({
    url: baseUrl + "/pc/practice-grades",
    method: "post",
    data
  });
}
